package com.tyae.util;

import java.io.IOException;

import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;

public class RedirecionaPagina {

	public static void redireciona(String url) throws IOException {
		FacesContext faces = FacesContext.getCurrentInstance();
		ExternalContext context = faces.getExternalContext();
		context.redirect(url + ".jsf");
	}

}
